import { Login, setCOde } from './Login.js'
import {
  loginUser,
  getUserInfo,
  getFigure,
  getHistory,
  getCollections,
  getFollowings,
  getFollowers
} from './My.js'

import {
  getUserChannels,
  getArticles,
  getAllChannels,
  addUserChannel,
  deleteUserChannel
} from './Home.js'

import { getSuggestions, getSearch } from './Search.js'
import {
  getArticleById,
  addFollow,
  deleteFollow,
  deleteCollect,
  addCollect,
  addLike,
  deleteLike,
  getComments,
  addCommentLike,
  deleteCommentLike,
  addComment
} from './Article.js'

import { getUserProfile, updateUser, updateUserAvatar } from './Profile.js'

import { getTargetUserInfo, getTargetUserArticles } from './ToUser.js'
import { getGGs, getGGContent } from './GongGao.js'
export const LoginAPI = Login
export const setCOdeAPI = setCOde
export const loginUserAPI = loginUser
export const getUserInfoAPI = getUserInfo
export const getUserChannelsAPI = getUserChannels
export const getArticlesAPI = getArticles
export const getAllChannelsAPI = getAllChannels
export const addUserChannelAPI = addUserChannel
export const deleteUserChannelAPI = deleteUserChannel
export const getSuggestionsAPI = getSuggestions
export const getSearchAPI = getSearch
export const getArticleByIdAPI = getArticleById
export const deleteFollowAPI = deleteFollow
export const addFollowAPI = addFollow
export const deleteCollectAPI = deleteCollect
export const addCollectAPI = addCollect
export const addLikeAPI = addLike
export const deleteLikeAPI = deleteLike
export const getCommentsAPI = getComments
export const deleteCommentLikeAPI = deleteCommentLike
export const addCommentLikeAPI = addCommentLike
export const addCommentAPI = addComment
export const getUserProfileAPI = getUserProfile
export const updateUserAPI = updateUser
export const updateUserAvatarAPI = updateUserAvatar
export const getFigureAPI = getFigure
export const getCollectionsAPI = getCollections
export const getHistoryAPI = getHistory
export const getFollowingsAPI = getFollowings
export const getFollowersAPI = getFollowers
export const getTargetUserInfoAPI = getTargetUserInfo
export const getTargetUserArticlesAPI = getTargetUserArticles
export const getGGContentAPI = getGGContent
export const getGGsAPI = getGGs
